package com.yupi.yupicturebackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yupi.yupicturebackend.model.dto.picture.PictureCommentQueryRequest;
import com.yupi.yupicturebackend.model.dto.picture.PictureCommentRequest;
import com.yupi.yupicturebackend.model.entity.PictureComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.yupicturebackend.model.vo.PictureCommentRootVo;

import javax.annotation.Resource;

/**
* @author zhonghaoming
* @description 针对表【picture_comment(评论表)】的数据库操作Service
* @createDate 2025-10-19 16:24:45
*/
public interface PictureCommentService extends IService<PictureComment> {

    PictureComment saveOrUpdate(PictureCommentRequest pictureCommentRequest);

    QueryWrapper<PictureComment> getQueryWrapper(PictureCommentQueryRequest pictureCommentQueryRequest);

    Page<PictureCommentRootVo> getPictureCommentRootVo(PictureCommentQueryRequest pictureCommentQueryRequest);

}
